package com.hzncc.flowable_diboot.trial_contracts.mapper;

import com.diboot.core.mapper.BaseCrudMapper;
import com.hzncc.flowable_diboot.trial_contracts.entity.TrialContractAudit;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* 试用合同审批单 相关Mapper层接口定义
* @author MyName
* @version 1.0
* @date 2024-10-15
* Copyright © MyCorp
*/
@Mapper
public interface TrialContractAuditMapper extends BaseCrudMapper<TrialContractAudit> {
    @Select("select trial_contract_audit from mdl_trial_contract_audit_iam_user where user = #{currentUserId}")
    List<String> getStarContractIds(String currentUserId);
}